<html>
<head>
    <title>TODO supply a title</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<?php
if (isset($_POST['button'])) {
    $chinese = $_POST['chinese'];
    $math = $_POST['math'];
}
?>
<form method="post">
    <table width="500" border="1" align="center">
        <tr>
            <th colspan="2">判断成绩</th>
        </tr>
        <tr>
            <td>语文:</td>
            <td><input name="chinese" type="text" id="ch"/></td>
        </tr>
        <tr>
            <td>数学:</td>
            <td><input name="math" type="text" id="math"/></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="提交" name="button" id="button"/>
            </td>
        </tr>
    </table>
</form>

</body>

</html>